package com.ruoyi.project.manage.detail.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.project.manage.detail.domain.ProjectInvestDetail;
import com.ruoyi.project.manage.project.domain.Project;

/**
 * 资金落实明细记录Mapper接口
 * 
 * @author fangkun
 * @date 2022-05-29
 */
public interface ProjectInvestDetailMapper 
{
    /**
     * 查询资金落实明细记录
     * 
     * @param projectInvestDetailId 资金落实明细记录主键
     * @return 资金落实明细记录
     */
    ProjectInvestDetail selectProjectInvestDetailByProjectInvestDetailId(Long projectInvestDetailId);

    List<Map> statProjectInvest(Long projectId);

    /**
     * 查询资金落实明细记录列表
     * 
     * @param projectInvestDetail 资金落实明细记录
     * @return 资金落实明细记录集合
     */
    List<ProjectInvestDetail> selectProjectInvestDetailList(ProjectInvestDetail projectInvestDetail);

    /**
     * 新增资金落实明细记录
     * 
     * @param projectInvestDetail 资金落实明细记录
     * @return 结果
     */
    int insertProjectInvestDetail(ProjectInvestDetail projectInvestDetail);

    /**
     * 修改资金落实明细记录
     * 
     * @param projectInvestDetail 资金落实明细记录
     * @return 结果
     */
    int updateProjectInvestDetail(ProjectInvestDetail projectInvestDetail);

    /**
     * 删除资金落实明细记录
     * 
     * @param projectInvestDetailId 资金落实明细记录主键
     * @return 结果
     */
    int deleteProjectInvestDetailByProjectInvestDetailId(Long projectInvestDetailId);

    /**
     * 批量删除资金落实明细记录
     * 
     * @param projectInvestDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteProjectInvestDetailByProjectInvestDetailIds(String[] projectInvestDetailIds);
}
